import Vue from 'vue'
import App from './App'
import uView from "uview-ui";
import fly from './utils/net/request.js'
import myUploadFile from 'utils/net/uploadFile.js'
import { login, getPersonFile, deletePersonFile, uploadFile, uploadFileMonitoring, getPrinter, printFile, printFileMonitoring, getPersonInfo,getPersonHistoryPrinting } from 'api/index/index.js'

Vue.config.productionTip = false
Vue.prototype.$fly = fly,
Vue.prototype.$myUploadFile = myUploadFile,


Vue.prototype.$login = login,
Vue.prototype.$getPersonFile = getPersonFile,
Vue.prototype.$deletePersonFile = deletePersonFile,
// Vue.prototype.$uploadFile = uploadFile,
Vue.prototype.$uploadFileMonitoring = uploadFileMonitoring,
Vue.prototype.$getPrinter = getPrinter,
Vue.prototype.$printFile = printFile,
Vue.prototype.$printFileMonitoring = printFileMonitoring,
Vue.prototype.$getPersonInfo = getPersonInfo,
Vue.prototype.$getPersonHistoryPrinting = getPersonHistoryPrinting,

Vue.use(uView);
App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()

